<!DOCTYPE html>
<html lang="en">
<!--后台模板在线网址 http://www.sucaihuo.com/modals/5/518/demo/ui_features.html-->
<head>
    <meta charset="utf-8">
    <title>约键体育联盟</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="约键体育联盟">
    <include file="Public/head" />
</head>
<body>
<div id="wrap">
    <include file="Public/top0" />
    <div class="container-fluid">
        <include file="Public/sidemenus"/>

        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                    奖品管理
                </h2>
            </div> <!-- /row-fluid -->


            <!--此处往下为代码改写部分-->
            <div class="row-fluid">
                <div class="widget widget-padding span12">
                    <div class="widget-header">

                        <i class="icon-group"></i>

                        <h5>添加奖品</h5>
                        <div class="widget-buttons">
                           
                            <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
                        </div>

                        <p class="pull-right" style="margin-top: 20px;"><a class="btn btn-primary" href="__ROOT__/index.php/admin/Prize/prizelist">返回</a></p>
                    </div>
					<div class="panel-body">
					<div class="col-md-3"></div>
						<div class="col-md-6">
								
						<form role="form" action="{:U('Prize/newprize')}" method="POST" enctype="multipart/form-data">
							
							<div class="form-group">
									<label>奖品名称</label>
									<input class="form-control" type="text" placeholder="请输入奖品名称" name="prizename">
								</div>



                  <div class="form-group">
                  <label class="form-group">图片</label>
                  <div class="col-md-4">
              <span class="help-block">支持常见图片格式(.jpg,.png,.jpeg)，最大上传：1M</span>
                  <input class="form-control" type="file"  name="prizepic">
                  <img class="img-thumbnail"  src="__PUBLIC__/Uploads/photo/{$vo.prizepic}" width="90" height="80"> 
                </div>
								   

								<div class="form-group">
									<label>兑换值</label>
									<input class="form-control" type="text" placeholder="请输入兑换值" name="prizepoint">
								</div>
                                <div class="form-group">
									<label>奖品介绍</label>
									<input class="form-control" type="text" placeholder="请输入奖品介绍" name="prizeintro">
								</div>
								<button type="submit" class="btn btn-primary">提交</button>
								<button type="reset" class="btn btn-default">重置</button>
							</div>
							


						</form>
					</div>
				</div>
			</div><!-- /.col-->
		</div><!-- /.row -->
		
	</div><!--/.main-->

<include file="Public/footer"/>